package com.blue.jdbc.model;

import com.blue.core.dict.State;
import com.blue.jdbc.annotation.Id;
import com.blue.jdbc.annotation.Table;

@Table(name = "sys_menu")
public class Menu
{
	@Id
	private Integer id;
	private Integer parentId;
	private String name;
	private String descp;
	private String url;
	private Integer sort;
	private State state;
	private Integer auths;

	public Menu()
	{
	}

	public Integer getId()
	{
		return id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Integer getParentId()
	{
		return parentId;
	}

	public void setParentId(Integer parentId)
	{
		this.parentId = parentId;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getDescp()
	{
		return descp;
	}

	public void setDescp(String descp)
	{
		this.descp = descp;
	}

	public String getUrl()
	{
		return url;
	}

	public void setUrl(String url)
	{
		this.url = url;
	}

	public Integer getSort()
	{
		return sort;
	}

	public void setSort(Integer sort)
	{
		this.sort = sort;
	}

	public State getState()
	{
		return state;
	}

	public void setState(State state)
	{
		this.state = state;
	}

	public Integer getAuths()
	{
		return auths;
	}

	public void setAuths(Integer auths)
	{
		this.auths = auths;
	}

}
